package com.ruoyi.common.utils.genericEntry;

import java.util.List;

public class ListAndString<T> {
    private static final long serialVersionUID = 1L;
    private List<T> genericList;
    private String stringValue;

    public void Entity(List<T> genericList, String stringValue) {
        this.genericList = genericList;
        this.stringValue = stringValue;
    }

    public List<T> getGenericList() {
        return genericList;
    }

    public void setGenericList(List<T> genericList) {
        this.genericList = genericList;
    }

    public String getStringValue() {
        return stringValue;
    }

    public void setStringValue(String stringValue) {
        this.stringValue = stringValue;
    }

    @Override
    public String toString() {
        return "Entity{" +
                "genericList=" + genericList +
                ", stringValue='" + stringValue + '\'' +
                '}';
    }
}
